package com.sy.entity;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class Emp {
    private Integer empno;
    private String ename;
    private Integer mgr;
    private String job;
    private BigDecimal sal;
    private BigDecimal comm;
    private Integer deptno;
    /**
     * 查询员工基本信息的时候，想要关联查询出其对应的部门信息
     */
    private Dept dept;
}
